Doc: various small fixes
authorSébastien Wilmet <swilmet@gnome.org>
Wed, 17 Apr 2013 10:38:44 +0000 (12:38 +0200)
committerSébastien Wilmet <swilmet@gnome.org>
Sun, 12 May 2013 16:09:28 +0000 (18:09 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=700007

gtk/gtkentry.c
gtk/gtkliststore.c
gtk/gtktextbuffer.c
gtk/gtktextbufferrichtext.c
gtk/gtktextbufferrichtext.h
gtk/gtktextview.c
gtk/gtktreestore.c
gtk/gtktreeview.c

index 7b220c68764dfd95c3c3ee2dc60440f9a8459539..3fefc249ae68dbe85a01581bd48cd8dd764a35c4 100644 (file)
@@ -1432,9 +1432,10 @@ gtk_entry_class_init (GtkEntryClass *class)
                                                        PANGO_TYPE_ATTR_LIST,
                                                        GTK_PARAM_READWRITE));
 
-  /** GtkEntry:populate-all:
+  /**
+   * GtkEntry:populate-all:
    *
-   * If ::populate-all is %TRUE, the #GtkEntry::populate-popup
+   * If :populate-all is %TRUE, the #GtkEntry::populate-popup
    * signal is also emitted for touch popups.
    *
    * Since: 3.8
@@ -1514,7 +1515,7 @@ gtk_entry_class_init (GtkEntryClass *class)
    * to this signal and append your items to the @widget, which
    * will be a #GtkMenu in this case.
    *
-   * If #GtkEntry::populate-all is %TRUE, this signal will
+   * If #GtkEntry:populate-all is %TRUE, this signal will
    * also be emitted to populate touch popups. In this case,
    * @widget will be a different container, e.g. a #GtkToolbar.
    * The signal handler should not make assumptions about the
index 11dae3f92353a77fb60818c2f79948efb089f1ff..b64876bdd58d8063fe64ab5367515a6f03926f75 100644 (file)
@@ -39,8 +39,9 @@
  * widget.  It implements the #GtkTreeModel interface, and consequentialy,
  * can use all of the methods available there.  It also implements the
  * #GtkTreeSortable interface so it can be sorted by the view.
- * Finally, it also implements the tree <link linkend="gtktreednd">drag and
- * drop</link> interfaces.
+ * Finally, it also implements the tree
+ * <link linkend="gtk3-GtkTreeView-drag-and-drop">drag and drop</link>
+ * interfaces.
  *
  * The #GtkListStore can accept most GObject types as a column type, though
  * it can't accept all custom types.  Internally, it will keep a copy of
index bebeb56dd672437e13c8775acb5fed3662575f2f..73d49e5f327721af2eed2fa1395128273b86c0ce 100644 (file)
@@ -3046,7 +3046,7 @@ gtk_text_buffer_get_modified (GtkTextBuffer *buffer)
  * last time it was saved. Whenever the buffer is saved to disk, call
  * gtk_text_buffer_set_modified (@buffer, FALSE). When the buffer is modified,
  * it will automatically toggled on the modified bit again. When the modified
- * bit flips, the buffer emits a "modified-changed" signal.
+ * bit flips, the buffer emits the #GtkTextBuffer::modified-changed signal.
  **/
 void
 gtk_text_buffer_set_modified (GtkTextBuffer *buffer,
@@ -4210,7 +4210,7 @@ gtk_text_buffer_get_target_list (GtkTextBuffer   *buffer,
  *
  * This function returns the list of targets this text buffer can
  * provide for copying and as DND source. The targets in the list are
- * added with %info values from the #GtkTextBufferTargetInfo enum,
+ * added with @info values from the #GtkTextBufferTargetInfo enum,
  * using gtk_target_list_add_rich_text_targets() and
  * gtk_target_list_add_text_targets().
  *
@@ -4242,7 +4242,7 @@ gtk_text_buffer_get_copy_target_list (GtkTextBuffer *buffer)
  *
  * This function returns the list of targets this text buffer supports
  * for pasting and as DND destination. The targets in the list are
- * added with %info values from the #GtkTextBufferTargetInfo enum,
+ * added with @info values from the #GtkTextBufferTargetInfo enum,
  * using gtk_target_list_add_rich_text_targets() and
  * gtk_target_list_add_text_targets().
  *
index 2c5d228daede2130bd328ebb33d55ec57f2c7322..2bad3ca5fc17ce5c036f35063953f5beafb1332f 100644 (file)
@@ -58,7 +58,7 @@ static GQuark    deserialize_quark (void);
  * @buffer: a #GtkTextBuffer
  * @mime_type: the format's mime-type
  * @function: the serialize function to register
- * @user_data: %function's user_data
+ * @user_data: @function's user_data
  * @user_data_destroy: a function to call when @user_data is no longer needed
  *
  * This function registers a rich text serialization @function along with
index 3ab920de1e98af8b614dadc14af0fee59cbdf050..6bd66ccc8c7f630f88013658452009e5e337c96a 100644 (file)
@@ -56,7 +56,7 @@ typedef guint8 * (* GtkTextBufferSerializeFunc)   (GtkTextBuffer     *register_b
  * @content_buffer: the #GtkTextBuffer to deserialize into
  * @iter: insertion point for the deserialized text
  * @data: data to deserialize
- * @length: length of %data
+ * @length: length of @data
  * @create_tags: %TRUE if deserializing may create tags
  * @user_data: user data that was specified when registering the format
  * @error: return location for a #GError
index 2de8a1e623be9f15d7b3bf23ead0c54b9a9580cb..2d02add0816c9be55e62eaac76f5b026da73a636 100644 (file)
@@ -863,9 +863,10 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
                                                        GTK_INPUT_HINT_NONE,
                                                        G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
 
-  /** GtkTextView:populate-all:
+  /**
+   * GtkTextView:populate-all:
    *
-   * If ::populate-all is %TRUE, the #GtkTextView::populate-popup
+   * If :populate-all is %TRUE, the #GtkTextView::populate-popup
    * signal is also emitted for touch popups.
    *
    * Since: 3.8
@@ -1150,7 +1151,7 @@ gtk_text_view_class_init (GtkTextViewClass *klass)
    * to this signal and append your items to the @popup, which
    * will be a #GtkMenu in this case.
    *
-   * If #GtkEntry::populate-toolbar is %TRUE, this signal will
+   * If #GtkTextView:populate-all is %TRUE, this signal will
    * also be emitted to populate touch popups. In this case,
    * @popup will be a different container, e.g. a #GtkToolbar.
    *
index 21e7a205d95a941ab9e429cd1b9a649da6cf2b1e..ccf240911f36d4b33e5dd845aa86a8d8a6d0b5c4 100644 (file)
@@ -37,8 +37,9 @@
  * widget.  It implements the #GtkTreeModel interface, and consequentialy,
  * can use all of the methods available there.  It also implements the
  * #GtkTreeSortable interface so it can be sorted by the view.  Finally,
- * it also implements the tree <link linkend="gtktreednd">drag and
- * drop</link> interfaces.
+ * it also implements the tree
+ * <link linkend="gtk3-GtkTreeView-drag-and-drop">drag and drop</link>
+ * interfaces.
  *
  * <refsect2 id="GtkTreeStore-BUILDER-UI">
  * <title>GtkTreeStore as GtkBuildable</title>
index 5a26f5cff9bf923e0ecc61a891a6216cba42af4b..385cabb43cf391dd01a5f61534133ddffc75fcd1 100644 (file)
@@ -61,7 +61,8 @@
  * SECTION:gtktreeview
  * @Short_description: A widget for displaying both trees and lists
  * @Title: GtkTreeView
- * @See_also: #GtkTreeViewColumn, #GtkTreeSelection, #GtkTreeDnd, #GtkTreeMode,
+ * @See_also: #GtkTreeViewColumn, #GtkTreeSelection, #GtkTreeModel,
+ *   <link linkend="gtk3-GtkTreeView-drag-and-drop">GtkTreeView drag-and-drop</link>,
  *   #GtkTreeSortable, #GtkTreeModelSort, #GtkListStore, #GtkTreeStore,
  *   #GtkCellRenderer, #GtkCellEditable, #GtkCellRendererPixbuf,
  *   #GtkCellRendererText, #GtkCellRendererToggle